﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Windows.Forms;

namespace BuildingForm
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            if (args != null && args.Length > 0)
            {
                string type = args[0].ToString().Trim();
                if (type == "BlackPersonsForm")
                {
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new BlackPersonsForm());
                }
                else
                {
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new WorkHoursForm());
                }
            }
            else
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new Form1());
                //Application.Run(new DelExistPerson());
                //Application.Run(new BlackPersonsForm());
                //Application.Run(new WorkHoursForm());
            }
        }
    }
}
